import unittest
from htmltestreport import HTMLTestReport
from scripts.test_ihrm_login_params import TestIhrmLoginParam
from scripts.test_ihrm_emp_add_param import TestIhrmEmpAddParam
# 创建套件实例
suite = unittest.TestSuite()
# 添加测试类，组装测试用例
suite.addTest(unittest.makeSuite(TestIhrmEmpAddParam))
suite.addTest(unittest.makeSuite(TestIhrmLoginParam))
# 创建HTMLTestReport  类实例
runner = HTMLTestReport("./report/ihrm.html", description = "描述",  title = "标题")
runner.run(suite)